package com.atguigu.dao;

import com.atguigu.entity.Permission;

import java.util.List;

public interface PermissionDao extends BaseDao<Permission>{

    List<Permission> findAll();

    List<Permission> findMenuPermissionByAdminId(Long adminId);

    // 获取code权限信息[超级管理员]
    List<String> findAllCodeList();
    // 获取code权限信息
    List<String> findCodeListByAdminId(Long adminId);
}
